#!/usr/bin/env bash

src="${HOME}/projects/ci-bilin/prd/docker/gocron/Dockerfile"
dest="${HOME}/projects/gocron"

cp $src $dest

composefile="${HOME}/projects/ci-bilin/prd/docker/docker-compose.yml"
docker-compose -f $composefile build gocron
docker-compose -f $composefile rm -sf gocron
docker-compose -f $composefile up -d --no-recreate --no-build gocron
